﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Enterprise.Migrations
{
    public partial class usertableaddImIdColumn : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "IM_ID",
                table: "USER",
                type: "VARCHAR(20)",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "MDT_IM_ID",
                table: "MDT_GROUP",
                type: "VARCHAR(20)",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "IM_ID",
                table: "USER");

            migrationBuilder.DropColumn(
                name: "MDT_IM_ID",
                table: "MDT_GROUP");
        }
    }
}
